$("header").load("header_con.html",function(){
	$("#he_bottom_nav > li > a").css("color", "#323333");
	$("#he_bottom_nav > li:nth-child(4) > a").css("color", "rgb(242,86,11)");
});
$(".jPaginate").load("jPaginate.html");
$("footer").load("footer.html");
//	---------------------轮播-图---------------------
var mySwiper = new Swiper('.swiper-container', {
	loop: true,
	autoplay: 3000,
	pagination: '.swiper-pagination',
});
//---------------------------左右点击事件-----------
var index = 0;
$(".content_cl").click(function() {
	index -= 302;
	if(index <= -1208) {
		index = 0;
		$(".exchange").animate({
			"left": index + "px"
		}, 0);
		index -= 302;
	}
	$(".exchange").animate({
		"left": index + "px"
	}, 300);
});
$(".content_cr").click(function() {
	index += 302;
	if(index >= 0) {
		index = -1208;
		$(".exchange").animate({
			"left": index + "px"
		}, 0);
		index += 302;
	}
	$(".exchange").animate({
		"left": index + "px"
	}, 300);
})

//----------------------列表边框-------------------
$(".exchange_list_Div").mousemove(function() {
	$(this).click(function() {
		window.location = "M-goodsPage.html";
	})
});
$(".cont_bot_Div").mousemove(function() {
	$(".cont_bot_Div").css("border", "1px solid rgb(211,211,211)");
	$(this).css("border", "1px solid red");
	$(this).click(function() {
		window.location = "M-goodsPage.html";
	})
})